ChoiceValidator

constructor(predicate: ChoiceValidator.ValuesPredicate<T>)

Parameters

predicate

a ValuesPredicate that defines the valid choices the user can make